package hgx.spring.cloud.lession.orderserver.vo;/**
 * Created by liujun on 2018/3/15.
 */

import java.util.ArrayList;
import java.util.List;

/**
 * @author Administrator
 * @create 2018-03-15 15:46
 */
public class ReponseOrderListVo extends ReponseBaseVo {
    private static final long serialVersionUID = 1045971296104136388L;
    private List<OrderVo> orderVos;

    public void addOrderVo(OrderVo orderVo) {
        if (orderVo == null) {
            return;
        }

        if (orderVos == null) {
            orderVos = new ArrayList<OrderVo>();
        }

        orderVos.add(orderVo);

    }

    public List<OrderVo> getOrderVos() {
        return orderVos;
    }

    public void setOrderVos(List<OrderVo> orderVos) {
        this.orderVos = orderVos;
    }

    @Override
    public String toString() {
        return "ReponseOrderListVo{" +
                "orderVos=" + orderVos +
                '}';
    }
}
